package sjtu.ist.warehouse4ws.dao;

import java.util.List;

import sjtu.ist.warehouse4ws.model.*;
public interface CompanyDao {
	
	Company get(String id);
	String save(Company company);
	void update(Company company);
	void delete(String id);
	void delete(Company company);
	List<Company> findByName(String name);
	List<Company> getAllCompanies();
	List<Company> searchByName(String name);
}
